<?php

/**
 * User: @lose
 * Date: 2021/12/16
 * Time: 10:43 上午
 */

namespace Buu\Modules\Eolinker\Models;

use Illuminate\Database\Eloquent\Model;

class AmsApi extends Model
{
    protected $table = 'eo_ams_api';

    protected $connection = 'eolinker';

    public static function getApiInfo($apiId)
    {
        return AmsApi::where('apiID', $apiId)->first()->toArray();
    }
}